/**
 * output package name
 */
package com.kingdee.eas.mx.qa;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class dutyType extends StringEnum
{
    public static final String PASS_VALUE = "10";
    public static final String ALTER_VALUE = "20";

    public static final dutyType pass = new dutyType("pass", PASS_VALUE);
    public static final dutyType alter = new dutyType("alter", ALTER_VALUE);

    /**
     * construct function
     * @param String dutyType
     */
    private dutyType(String name, String dutyType)
    {
        super(name, dutyType);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static dutyType getEnum(String dutyType)
    {
        return (dutyType)getEnum(dutyType.class, dutyType);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(dutyType.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(dutyType.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(dutyType.class);
    }
}